package com.lh.web.service.serviceAdmin.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.common.entity.admin.Order;
import com.lh.common.entity.admin.OrderDetail;
import com.lh.common.entity.admin.OrderOneDetail;
import com.lh.common.utils.PageUtils;

import java.util.Map;

/**
 * @author FH
 * @ClassName: OrderService
 * @Description: (类作用)
 * @date: 2020-05-18 9:35
 */
public interface OrderService extends IService<Order> {

    PageUtils queryOrderList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    PageUtils getOrderList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    OrderOneDetail queryOrderOneDetails(Long orderId);

    OrderDetail queryOrderDetails(Long orderId);

    int updateOrderWarehouse(Long userId,Long orderId,String oldStatus,String newStatus,String remark);

    int updateOrderWarehouse(Long userId,Long orderId,String expressName,String expressCode,String oldStatus,String newStatus,String remark);
}
